﻿using System;

namespace Gqq.Csharpindepth.Common
{
    public class GqqLog
    {
        /// <summary>
        /// 写Log
        /// </summary>
        /// <param name="info"></param>
        /// <param name="args"></param>
        public static void WriteLog(string info, params object[] args)
        {
            string content = string.Format("Time:{0}    Content:{1}", DateTime.Now.ToString("HH:mm:ss"),
                                           string.Format(info, args));
            FileProcess.WriteFile(content);
        }
    }
}
